function foo () {}
foo = () => {};
foo();
